package grupo2.bj;

public class As extends Carta {
	
	public As(char palo) {
		this.setNumero(1);
		this.setPalo(palo);
	}
	
	public As(int palo) {
		this.setNumero(1);
		this.setPalo(this.getPalo(palo));
	}
	
	public int getValor(){
		if (this.isTapada())
				return 0;
		return 11;
	}
	
	public String getNumero(){
		return "As";
	}
	
	public boolean isAs(){
		return true;
	}

}

